/*
 * author      : 吴中勤 
 * date        : 2018/9/22
 * description : TODO
 */

package com.deepexi.adapter;

import java.util.Date;

public class BaseEO {
//
//    id          INT(11) PRIMARY KEY AUTO_INCREMENT COMMENT 'id',
//    created_at  TIMESTAMP         DEFAULT now()    COMMENT 'gmt 创建时间',
//    updated_at  TIMESTAMP         DEFAULT now()    COMMENT 'gmt 修改时间',
//    created_by  VARCHAR(32)       DEFAULT 'system' COMMENT '创建人',
//    updated_by  VARCHAR(32)       DEFAULT 'system' COMMENT '修改人',
//    version     SMALLINT UNSIGNED DEFAULT '0'      COMMENT '版本,修改+1',
//    field01     VARCHAR(200)      DEFAULT ''       COMMENT '预留字段01',
//    field02     VARCHAR(200)      DEFAULT ''       COMMENT '预留字段02',
//    field11     INT(11)           DEFAULT '0'      COMMENT '预留字段11',
//    field12     INT(11)           DEFAULT '0'      COMMENT '预留字段12',

    protected Integer id;
    protected Date createdAt;
    protected Date updatedAt;
    protected int version;
    protected String createdBy;
    protected String updatedBy;

    protected String field01;
    protected String field02;
    protected Integer field03;
    protected Integer field04;

    // ========= setter & getter =========

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getField01() {
        return field01;
    }

    public void setField01(String field01) {
        this.field01 = field01;
    }

    public String getField02() {
        return field02;
    }

    public void setField02(String field02) {
        this.field02 = field02;
    }

    public Integer getField03() {
        return field03;
    }

    public void setField03(Integer field03) {
        this.field03 = field03;
    }

    public Integer getField04() {
        return field04;
    }

    public void setField04(Integer field04) {
        this.field04 = field04;
    }
}
